
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 *
 */

package com.hlkj.pay.infrastructure.model.token;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author HlpayTeam
 * @date 2024/09/01 13:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_token_auth_log")
public class TokenAuthLogDO extends BaseDO {


    /**
     * app_id
     */
    private String appId;

    /**
     * client type
     * 
     * @see AuthTokenEnums.AUTH_TOKEN_CLIENT_TYPE
     */
    private Integer authorizedGrantTypes;

    /**
     * access_token
     */
    private String accessToken;

    /**
     * refresh_token
     */
    private String refreshToken;

    /**
     * mfa_token_validity
     */
    private String mfaToken;

    /**
     * ip
     */
    private String ip;

    /**
     * ip 所在地
     */
    private String ipLocation;

}
